const noRepeat = (arr) => {
  return arr.reduce((brr, item) => {
    brr.indexOf(item) === -1 && brr.push(item)
    return brr;
  }, [])
}

module.exports = {
  noRepeat
}